package net.oschina.app.service;

import net.oschina.app.bean.TweetPubBean;
import net.oschina.app.interf.Constants;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Query;

/**
 * Created by wei03 on 2017/1/19.
 */

public interface GsonService {
    @Headers("Cookie:oscid=Y3qiOiy7zxlrt1a7F2z7iVJraDcWJjSdyDCRctYvq8ZsL7JLdsYHtBmBO3sBAMC9nD3P%2FX9C6nnfdILnN%2Fk8rrQItyt5Kf2PMZoJ0YMvYuCnA5s7ZloEf4kB7vP9r4eSO%2F%2BI9LRHRGw%3D; Domain=.oschina.net; Expires=Wed, 17-Jan-2018 01:28:07 GMT; Path=/")
    @GET(Constants.PUB_TWEET)
    Call<TweetPubBean> getTweetPubBean(@Query("content") String content);
}
